<?php 
return array (
  'cms_channel' => 
  array (
    1 => 
    array (
      'key' => 'article',
      'name' => '普通文章',
    ),
    2 => 
    array (
      'key' => 'image',
      'name' => '图片集',
    ),
    3 => 
    array (
      'key' => 'video',
      'name' => '视频集',
    ),
  ),
  'fields_type'=>[
    ["key"=>"text","name"=>"单行文本"],
    ["key"=>"textarea","name"=>"多行文本"],
    ["key"=>"select_type","name"=>"选项"]
  ],
  'fields_pattern'=>[
    ["name"=>"数字","pattern"=>"/^[0-9.-]+$/"],
    ["name"=>"整数","pattern"=>"/^[0-9-]+$/"],
    ["name"=>"字母","pattern"=>"/^[a-z]+$/i"],
    ["name"=>"数字+字母","pattern"=>"/^[0-9a-z]+$/i"],
    ["name"=>"E-mail","pattern"=>"/^[\w\-\.]+@[\w\-\.]+(\.\w+)+$/"],
    ["name"=>"QQ","pattern"=>"/^[0-9]{5,20}$/"],
    ["name"=>"超级链接","pattern"=>"/^http:\/\//"],
    ["name"=>"手机号码","pattern"=>"/^(1)[0-9]{10}$/"],
    ["name"=>"电话号码","pattern"=>"/^[0-9-]{6,13}$/"],
    ["name"=>"邮政编码","pattern"=>"/^[0-9]{6}$/"]
  ],
  'cms_posts_batch' => 
  array (
    'wrong_weihu' => 
    array (
      0 => 
      array (
        'title' => '删除空标题的文章',
        'action' => 'delete_empty_title',
      ),
      1 => 
      array (
        'title' => '删除内容为空的文章',
        'action' => 'delete_empty_content',
      ),
    ),
  ),
  'cms_baidu' => 
  array (
    'isauto_submit' => '0',
    'url' => '{"url":"frontend/Posts/show","param":{"id":"$id"}}',
    'token' => 'afwefawf',
    'site' => 'http://frontend.tpframe.com',
  ),
  'POSTS_COMMENT_ON' => '0',
  'posts_images_upload_limit' => '30',
  'posts_video_upload_limit' => '100',
  'POSTS_CHECK_WAY' => '0',
  'html_save_path' => 'html',
  'POSTS_RECYCLE_ON' => '1',
  'cut_posts_length' => '200',
  'keyword_replace_num' => '0',
  'articel_default_source' => 'tpframe',
  'articel_default_author' => 'tpframe',
);